import getlink from "@/api/getapi.js"
let VipXiJuM = {
    state:{
        comedy:""
    },
    mutations:{
        UPXIJUDATA(state,payload){
            state.comedy=payload
        }
    },
    actions:{
        LINK_XIJU_DATA(concomedy,payload){
            // console.log(context)
            getlink(payload).then((ok)=>{
                console.log(ok.data.comedy,"comedy")
                concomedy.commit("UPXIJUDATA",ok.data.comedy)
            }).catch((err)=>{
                console.log(err)
            })
        }
    }
}

export default VipXiJuM;

 
